package com.shj.em.biz.sell.entity;

import com.baomidou.mybatisplus.annotations.*;

import com.shj.em.base.entity.BaseEntity;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单产品信息
 * </p>
 *
 * @author Shen Huang Jian
 * @since 2018-07-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("oa_order_item")
public class OrderItem extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 订单号
     */
    private Long orderId;

    /**
     * 产品名称
     */
    private String name;

    /**
     * 材质
     */
    private String material;

    /**
     * 数量
     */
    private Integer num;

    /**
     * 单位
     */
    private String unit;

    /**
     * 单价
     */
    //private BigDecimal price;

    /**
     * 备注
     */
    private String remark;

    @TableField(exist = false)
    private String unitDescr;

}
